<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <title>留言板</title>
  <script type="text/javascript" src="../static/js/jquery.min.js"></script>
  <script type="text/javascript" src="../static/js/script.js"></script>
  <script type="text/javascript" src="../static/js/template.js"></script>
  <link rel="stylesheet" href="../static/font-awesome-4.7.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="../static/css/style.css">
  <style>
    .active {
      color: #9F38F8;
    }

    .maincontent {
      margin-top: 70px;
    }

    .toup {
      display: none;
      cursor: pointer;
      position: fixed;
      width: 60px;
      height: 60px;
      right: 50px;
      bottom: 100px;
    }

    .toup img {
      width: 100%;
    }

    .title {
      margin: 52px 0;
      font-size: 20px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      line-height: 34px;
      color: rgba(121, 121, 121, 1);
      opacity: 0.9;
    }

    #textarea {
      width: 1200px;
      height: 251px;
      background: rgba(240, 240, 240, 1);
      border: 1px solid rgba(112, 112, 112, 1);
      opacity: 1;
      padding: 30px;
      margin-bottom: 54px;
      font-size: 20px;

    }

    button {
      border: 0;
      margin: 0 auto;
      width: 240px;
      height: 60px;
      background: rgba(158, 191, 60, 1);
      opacity: 1;
      border-radius: 10px;
      color: #fff;
      font-size: 20px;

    }

    .button {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 70px;
    }
    .users{
      display: flex;
      flex-direction: column;
      width: 45%;
      padding: 10px;
    }

    .users_item {
      display: flex;
      justify-content: flex-start;
     
    }

    .users_item img {
     
      width: 48px;
      height: 48px;
    }

    .user_name {
      width:250px;
      font-size: 16px;
      font-family: Source Han Sans CN;
      font-weight: 300;
      line-height: 27px;
      color: rgba(68, 68, 68, 1);
      opacity: 1;
      padding: 0 20px;
    }
    
    .message_date{
      font-size:16px;
font-family:Source Han Sans CN;
font-weight:300;
line-height:27px;
color:rgba(68,68,68,1);
opacity:1;
    }
    .users-content{
      font-size:16px;
font-family:Source Han Sans CN;
font-weight:300;
line-height:27px;
color:rgba(68,68,68,1);
opacity:1;
padding: 20px;
    }
    .mainpart{
      display: flex;
      flex-wrap: wrap;
    }
  </style>
</head>

<body>
  <div class="wrapper">
    <div class="header headerbs">
      <div class="glogo"></div>
      <div class="nav">
        <div onclick="window.location.href='../index/index.html?type=index'">首页</div>
        <div onclick="window.location.href='../resources/index.html?type=online'">资源在线</div>
        <div onclick="window.location.href='../headmaster/index.html?type=teacher'">班主任工作</div>  
        <div onclick="window.location.href='../classroom/index.html?type=classroom'">德育讲堂</div>
        <div class="active">活动专区</div>
      </div>
    </div>
    <div class="maincontent">
      <div class="title">留言板</div>
      <textarea name="" id="textarea" cols="30" rows="10" placeholder="请输入留言内容"></textarea>
      <div class="button"><button>提交</button></div>
      <div class="mainpart">
          <div class="users">
              <div class="users_item">
                <img src="../static/img/touxiang.png" alt="">
                <div class="user_name">用户昵称</div>
                <div class="message_date">2020-06-18 22:25</div>
              </div>
              <div class="users-content">这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言</div>
            </div>
            <div class="users">
                <div class="users_item">
                  <img src="../static/img/touxiang.png" alt="">
                  <div class="user_name">用户昵称</div>
                  <div class="message_date">2020-06-18 22:25</div>
                </div>
                <div class="users-content">这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言</div>
              </div>
              <div class="users">
                  <div class="users_item">
                    <img src="../static/img/touxiang.png" alt="">
                    <div class="user_name">用户昵称</div>
                    <div class="message_date">2020-06-18 22:25</div>
                  </div>
                  <div class="users-content">这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言</div>
                </div>
                <div class="users">
                    <div class="users_item">
                      <img src="../static/img/touxiang.png" alt="">
                      <div class="user_name">用户昵称</div>
                      <div class="message_date">2020-06-18 22:25</div>
                    </div>
                    <div class="users-content">这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言这是留言</div>
                  </div>
      

      </div>
      
    </div>
  </div>
  <div class="footer">
    <p>主办单位:央馆德育资源服务平台&nbsp;&nbsp;&nbsp;&nbsp;协办单位:安徽安教德育资源服务平台</p>
    <p>COPYRIGHT2020 YANGGUANG. ALL RIGHTS RESERVED.</p>
  </div>
  <div class="toup">
    <img src="../static/img/up.png" alt="">
  </div>

</body>

</html>


<script>
  $(function () {
    $(window).scroll(function () {
      var scrollHeight = $(document).scrollTop();
      if (scrollHeight > 1000) {
        $(".toup").fadeIn();
      } else {
        $(".toup").fadeOut();
      };
    });

    $(".toup").click(function () {
      $("html,body").animate({ scrollTop: '0px' }, 200);
    });
  });
</script>